package pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * @BelongsProject: Java_learning
 * @BelongsPackage: pojo
 * @Author: song
 * @CreateTime: 2022-11-29  07:45
 * @Description: TODO
 * @Version: 1.0
 */

public class Student {
    private Integer id;
    @JSONField(name = "studentName")
    private String name;
    private Integer age;
    private String email;
    private Date brithday;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getBrithday() {
        return brithday;
    }

    public void setBrithday(Date brithday) {
        this.brithday = brithday;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", email='" + email + '\'' +
                ", brithday=" + brithday +
                '}';
    }
}
